import requests


def get(url, param=None):
    if param is None:
        r = requests.get(url)
    else:
        r = requests.get(url, param)
    return r.text


def post(url, data):
    r = requests.post(url)
    return r.text


def post_json(url, json):
    r = requests.post(url, json)
